//
//  ZXY_ScrollCollectionCell.m
//  ZXY_ScrollInfiniteOC
//
//  Created by 宇周 on 15/12/10.
//  Copyright © 2015年 宇周. All rights reserved.
//

#import "ZXY_ScrollCollectionCell.h"

@implementation ZXY_ScrollCollectionCell

- (id)initWithFrame:(CGRect)frame
{
    if(self = [super initWithFrame:frame])
    {
        if(self.img == nil)
        {
            self.img = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height)];
            self.img.clipsToBounds = YES;
            self.img.contentMode = UIViewContentModeScaleAspectFill;
            [self.contentView addSubview:self.img];
        }

    }
    return self;
}

@end
